package com.mrobuy.jdvc.entity;

import com.gavel.annotation.FieldMeta;
import com.gavel.annotation.TableMeta;
import com.gavel.database.SQLExecutor;

@TableMeta(name = "VC_PROP_VALUE", title = "京东类目属性值")
public class VCPropValue {

    @FieldMeta(name = "ID", title = "ID", length = 32, primary = true)
    private String id;

    @FieldMeta(name = "CID", title = "类目ID", length = 32)
    private Integer cid;

    @FieldMeta(name = "PROPID", title = "规格参数ID", length = 32)
    private String propid;  // 规格参数ID

    @FieldMeta(name = "PROPNAME", title = "规格参数", length = 32)
    private String propname;  // 规格参数

    @FieldMeta(name = "VALUEID", title = "属性值ID")
    private Integer valueId;  // valueId : 700013

    @FieldMeta(name = "VALUENAME", title = "值名称", length = 30)
    private String valueName;  //  valueName : 救生衣

    @FieldMeta(name = "ORDERSORT", title = "排序标记", length = 8)
    private Integer orderSort;  // "inputType": 3,

    @FieldMeta(name = "SELECTED", title = "选择", length = 8)
    private String selected;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getPropid() {
        return propid;
    }

    public void setPropid(String propid) {
        this.propid = propid;
    }

    public String getPropname() {
        return propname;
    }

    public void setPropname(String propname) {
        this.propname = propname;
    }

    public Integer getValueId() {
        return valueId;
    }

    public void setValueId(Integer valueId) {
        this.valueId = valueId;
    }

    public String getValueName() {
        return valueName;
    }

    public void setValueName(String valueName) {
        this.valueName = valueName;
    }

    public Integer getOrderSort() {
        return orderSort;
    }

    public void setOrderSort(Integer orderSort) {
        this.orderSort = orderSort;
    }

    public String getSelected() {
        return selected;
    }

    public void setSelected(String selected) {
        this.selected = selected;
    }

    public static void main(String[] args) throws Exception {
        SQLExecutor.createTable(VCPropValue.class);
    }
}
